
±5ppm, I2C Real-Time Clock
8
Maxim Integrated
DS3231M
Detailed Description
The DS3231M is a serial real-time clock (RTC) driven by
an internal, temperature-compensated, microelectrome-
chanical systems (MEMS) resonator. The oscillator pro-
vides a stable and accurate reference clock and main-
tains the RTC to within Q0.432 seconds-per-day accu-
racy from -45NC to +85NC. The RTC is a low-power clock/
calendar with two programmable time-of-day alarms. INT/
SQW provides either an interrupt signal due to alarm
conditions or a 1Hz square wave. The clock/calendar
provides seconds, minutes, hours, day, date, month,
and year information. The date at the end of the month
is automatically adjusted for months with fewer than
31 days, including corrections for leap year. The clock
operates in either the 24-hour or 12-hour format with an
AM/PM indicator. The internal registers are accessible
though an I2C bus interface. A temperature-compensat-
ed voltage reference and comparator circuit monitors the
level of VCC to detect power failures and to automatically
switch to the backup supply when necessary. The RST
pin provides an external pushbutton function and acts as
an indicator of a power-fail event.
Operation
The Block Diagram shows the device’s main elements.
Each of the major blocks is described separately in the
following sections.
Block Diagram
Pin Description (continued)
DS3231M
N
TIME-BASE
RESONATOR
TEMP
SENSOR
INTERRUPT
OR 1Hz
SELECT
DIVIDER
INT/SQW
1Hz
DIGITAL
ADJUSTMENT
FACTORY TRIM
N
32KHZ
SDA
GND
SCL
VBAT
VCC
RST
RPU
CLOCK/CALENDAR
WITH ALARM
CONTROL AND STATUS
REGISTERS
I2C
INTERFACE
POWER
CONTROL
PIN
NAME
FUNCTION
8 SO
16 SO
7
15
SDA
Serial-Data Input/Output. This pin is the data input/output for the I2C serial interface. This open-drain
pin requires an external pullup resistor. The pullup voltage can be up to 5.5V, regardless of the
voltage on VCC.
8
16
SCL
Serial-Clock Input. This pin is the clock input for the I2C serial interface and is used to synchronize
data movement on the serial interface. The pullup voltage can be up to 5.5V, regardless of the
voltage on VCC.